<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="${basePackage}.mapper.${entityName}Mapper">
    <sql id="Base_Column_List">
        <#if columnList?exists>
            <#list columnList as entity>
                <#if entity_has_next!=true>
                    ${entity.originalName!} AS ${entity.name!}
                <#else>
                    ${entity.originalName!} AS ${entity.name!},
                </#if>
            </#list>
        </#if>
    </sql>
</mapper>